using System;
using System.Collections.Generic;
using DapperExtensions.Mapper;
using MHI.InspectionManager.Interfaces; 

namespace MHI.InspectionManager.Data
{
	public class DevMajorrepairdetailTMapper : ClassMapper<DevMajorrepairdetailT>
	{
		public DevMajorrepairdetailTMapper()
		{
			Table("dev_majorrepairdetail_t");
			Map(f => f.Id).Column("id").Key(KeyType.Assigned);
			Map(f => f.JobId).Column("job_id");
			Map(f => f.JobRemark).Column("job_remark");
			Map(f => f.AppendCost).Column("append_cost");
			Map(f => f.ScenarioDesc).Column("scenario_desc");
			Map(f => f.ImplementReason).Column("implement_reason");
			Map(f => f.BiddingPrice).Column("bidding_price");
			Map(f => f.ContractDesc).Column("contract_desc");
			Map(f => f.ApprovalDesc).Column("approval_desc");
			Map(f => f.ConstructionProcess).Column("construction_process");
			Map(f => f.ContractExecution).Column("contract·_execution");
			Map(f => f.AcceptDesc).Column("accept_desc");
			Map(f => f.TotalCost).Column("total_cost");
			Map(f => f.WarrantyCost).Column("warranty_cost");
			Map(f => f.PaidCost).Column("paid_cost");
			Map(f => f.UnpaidCost).Column("unpaid_cost");
			Map(f => f.Evaluation).Column("evaluation");
			Map(f => f.GmtCreated).Column("gmt_created");
			Map(f => f.PersonModified).Column("person_modified");
			Map(f => f.GmtModified).Column("gmt_modified");
			Map(f => f.StateInfo).Column("state_info");
			Map(f => f.IsUse).Column("is_use");
			Map(f => f.Version).Column("version");
		}
	}
}
